<?php

// php接收命令行输入
fwrite(STDOUT, 'Please enter a value.');
$value = trim(fgets(STDIN));
echo $value;